<template>
  <div class="maintain-layout">
    <snackbar style-color="#4A4A4A"
              back-color="#FAFAFA"
              status-color="#FAFAFA"
              style="background: #FAFAFA !important"
              rightText="搜索"
              :fixed="true">
    </snackbar>

    <div class="inputData-bodey">

      <div class="inputData-bodey-top">
        <div class="inputData-bodey-nei"><span>碧桂园</span></div>
        <div class="inputData-bodey-xuan"><span>选择<img class="icon-go" src="@/assets/image/icon_right.png"></span></div>
      </div>

      <div class="inputData-bodey-content">
        <span>日期</span>
        <span>2021-05-01</span>
        <div class="content">
          <span>班次</span>
          <span>白班</span>
          <span>夜班</span>
        </div>
      </div>


      <div class="inputData-bodey-leixing">
        <span class="leixing">类型</span>
        <div class="leixing-div">
          <span>请选择录入类型</span>
          <img class="icon-go" src="@/assets/image/icon_right.png">
        </div>
        <span class="leixing">项目部</span>
        <div class="leixing-div">
          <span >请选择项目部</span>
          <img class="icon-go" src="@/assets/image/icon_right.png">
        </div>
      </div>

    </div>


    <div class="bottom-layout">
      <span class="add-btn">提交</span>
    </div>

  </div>
</template>

<script>
export default {
  name: 'inputData',
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.maintain-layout {
  width: 100%;
  height: 100vh;
  background: #F6F6F6;

  .inputData-bodey {
    width: 90%;
    height: 70vh;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 1px rgba(121, 121, 121, 0.3);
    border-radius: 4px;
    border: 0px solid rgba(222, 222, 222, 0.31);
    display: flex;
    flex-direction: column;
    //margin-left: 4%;
    margin: 5% auto;

    .inputData-bodey-top {
      width: 94%;
      height: 12vh;
      margin-left: 3%;
      display: flex;
      align-items: center;
      position: relative;

      .inputData-bodey-nei {
        width: 26%;
        height: 4vh;
        line-height: 4vh;
        text-align: center;
        background: #65C368;
        color: #FFFFFF;
        border-radius: 2px;
        font-family: "苹方-简 中黑体"
      }

      .inputData-bodey-xuan {
        width: 20%;
        height: 4vh;
        line-height: 4vh;
        text-align: center;
        color: #333333;
        border-radius: 2px;
        position: absolute;
        right: 0;

        span {
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }

      span {
        font-size: 0.4rem;
      }
    }

    .inputData-bodey-content {
      width: 94%;
      height: 16vh;
      margin-left: 3%;
      //background: #00a2ff;
      span:nth-child(1) {
        margin-left: 5%;
        font-size: 0.4rem;
        color: #B4B4B4;
        font-family: "苹方-简 细体"
      }

      span:nth-child(2) {
        margin-left: 30%;
        font-size: 0.4rem;
        font-family: "苹方-简 常规体"
      }

      .content {
        margin-top: 25px;

        span:nth-child(2) {
          width: 20%;
          height: 5vh;
          line-height: 5vh;
          background: #65C368;
          display: inline-block;
          color: #FFFFFF;
          border-radius: 3px;
          text-align: center;
        }

        span:nth-child(3) {
          margin-left: 5%;
          width: 20%;
          height: 5vh;
          line-height: 5vh;
          background: #FFFFFF;
          display: inline-block;
          color: #65C368;
          border-radius: 3px;
          border: 1px solid #65C368;
          text-align: center;
          font-size: 0.4rem;
        }
      }
    }

    .inputData-bodey-leixing {
      width: 90%;
      height: 20vh;
      margin: 0 auto;

      .leixing {
        font-size: 0.5rem;
      }

      .leixing-div {
        width: 100%;
        height: 8vh;
        background: #F5F6F7;
        line-height: 8vh;
        font-size: 0.5rem;
        color: #9B9B9B;
        //display: flex;
        margin-top: 10px;
        text-align: center;
        span {
          display: inline-block;
          text-align: left;
          width: 60%;
          margin-left: 6%;
        }

        .icon-go {
          width: 20px;
          height: 20px;
        }

      }


    }


    .icon-go {
      width: 15px;
      height: 15px;
    }


  }

  .bottom-layout {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    height: 47px;
    display: flex;
    flex-direction: row;

    .add-btn {
      flex: 1;
      height: 47px;
      background: linear-gradient(221deg, #7ED785 0%, #64C367 100%);
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;

      font-size: 14px;
      color: #FFFFFF;
    }
  }


}
</style>
